Geofence

interface Geofence : Peripheral

Geofence peripheral interface.

Provides access to geofencing settings, which prevent the drone from flying over the given altitude and distance.

This peripheral can be obtained from a drone using:

drone.getPeripheral(Geofence.class)

See also

com.parrot.drone.groundsdk.device.Drone

Types

Link copied to clipboard
enum Mode
Geofencing mode, indicating the zone type where the drone is able to fly.

Functions

Link copied to clipboard
abstract fun getCenter(): Location
Gets the geofence center location.
Link copied to clipboard
Gives access to the maximum altitude setting.
Link copied to clipboard
Gives access to the maximum distance setting.
Link copied to clipboard
Gives access to the geofencing mode setting.